package the.world.service;

import the.world.bean.MessageList;
import the.world.bean.SortStategy;

import java.util.List;

public interface ListService {
    List<MessageList> listAllByOption(int currentPage,int pageSize);
    List<SortStategy> listAllByList();

    List<MessageList> selectByStrategyId(int currentPage,int pageSize, int id);

    List<MessageList> selectByName(int currentPage, int pageSize, String value);

    int totalCount();
}
